package c.b.a.c.a.a;

import android.os.Bundle;
import c.b.a.c.a.c.a;
import c.b.a.c.a.g.p;

final class i extends h<a> {

    /* renamed from: d  reason: collision with root package name */
    private final String f1940d;
    final /* synthetic */ j e;

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    i(j jVar, p<a> pVar, String str) {
        super(jVar, new a("OnRequestInstallCallback"), pVar);
        this.e = jVar;
        this.f1940d = str;
    }

    public final void b(Bundle bundle) {
        super.b(bundle);
        if (bundle.getInt("error.code", -2) == 0 || bundle.getInt("error.code", -2) == 1) {
            this.f1938b.e(j.c(this.e, bundle, this.f1940d));
        } else {
            this.f1938b.d(new c.b.a.c.a.b.a(bundle.getInt("error.code", -2)));
        }
    }
}
